/*********************************************************************************
CREATED BY: SCOTT FIELDER 
CREATED DATE: 4/18/2011


REVISION HISTORY:
-

***********************************************************************************/


public with sharing class UTIL_Cookie {

	  
	public static List<string> doCookieValues(Cookie c){
		
		string cookieVal = c.getValue();
		
		cookieVal = UTIL_encryption.decryptStr(cookieVal);
		
		return cookieVal.split(Apex_Cookie_Delimeter__c.getInstance().Delimeter_Character__c);
		
	}
	
	
	public static cookie retrieveCookie(){
		Cookie authCookie = ApexPages.currentPage().getCookies().get(FB_Cookie_Name__c.getInstance().Name__c);
		return authCookie;
	}



}